<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="icon" type="text/css" href="icon.ico"/>
    <link rel="stylesheet" type="text/css" href="/shop/Public/Home/css/index.css" />
    <script src="/shop/Public/Home/js/jquery-1.10.1.min.js" type="text/javascript" charset="utf-8"></script>

    <script src="/shop/Public/Home/js/list.js" type="text/javascript" charset="utf-8"></script>
    <!--<script src="/shop/node_modules/hdjs/app/util.js"></script>-->
    <!--<script src="/shop/node_modules/hdjs/require.js"></script>-->
    <!--<script src="/shop/node_modules/hdjs/config.js"></script>-->
    <script src="/shop/Public/Home/js/layer.js"></script>

</head>

<body>
<!--头部开始-->
<div id="top">
    <!--头部灰条就开始-->
    <div class="topbox">
        <div class="main">
            <div class="topleft fl">
                <a href="javascript:;">欢迎来到<?php echo V("sp_system.0")['svalue'];?></a>
                <a href="#">设为首页</a>
                <a href="#">收藏本站</a>
                <!--<a href="#">帮助中心</a>-->
                <!--<a href="#" class='last'><i></i>手机商城</a>-->
            </div>
            <div class="topright fr">
                <div class="login fl">
                    <?php if(isset($_SESSION['uid'])): ?><span>欢迎您回来 <?php echo $_SESSION['uname']?><a href="#">去个人中心</a></span>
                        <?php else: ?>
                        <a href="<?php echo U('Home/Lg/login');?>">登录</a>
                        <a href="<?php echo U('Home/Lg/regest');?>">注册</a><?php endif; ?>
                </div>
                <span class="fl">|</span>

                <div class="fcode fl">

                    <a href="<?php echo U('home/order/index');?>">我的订单</a>
                </div>
            </div>
        </div>
    </div>
    <!--头部灰条结束-->

    <!--logo区域开始-->
    <div class="logoRegion">
        <div class="main">
            <div class="logo">
                <a href="/shop/dami.html"><img width="185px" height="70px" src="<?php echo V('sp_system.3')['svalue'];?>"/></a>
            </div>
            <div class="seachRegion">
                <div class="seach fl">
                    <form action="<?php echo U('home/search/searchs');?>" method="post">
                        <input type="text" name="gname" class="seachtxt fl" value="O2+车载空气净化"/>
                        <input type="submit" class="btn" value=""/>
                    </form>
                    <p class="searchkey">
                        <?php if(is_array($hot)): $i = 0; $__LIST__ = $hot;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a href="<?php echo U('home/goodinfo/index',['gid'=>$vo['gid']]);?>" style="display: inline-block;width: 160px;height:20px;overflow: hidden"><?php echo ($vo['gname']); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
                    </p>
                </div>
                <div class="topshopcart fr">
                    <a href="<?php echo U('home/car/lists');?>" class="header-cart"><i></i>我的购物车<span class="cart-size">(0)</span></a>
                    <div class="cart-tips" style="width: 250px;height: 360px;">
                        <?php if(isset($_SESSION['uid'])): ?><ul id="car_ul" style="background: #fff;width: 250px;padding: 0px;margin: 0px;height: 360px;overflow: scroll">
                            </ul>
                            <?php else: ?>
                            请
                            <a href="<?php echo U('home/lg/login');?>">登录</a>后查看您的购物车。<?php endif; ?>
                    </div>
                </div>
            </div>
            <script>
                //                购物车AJAX异步
                $('.header-cart').mouseenter(function(){
                    uid="<?php echo session('uid');?>";
                    var str='';
                    var count=0;
                    $.post("<?php echo U('home/car/finAjxgood');?>",{uid:uid}, function (res) {
                        $.each(res,function(k,v){
                            count=count+ parseInt(v.count);
//                            alert(v.count);
                            str += '<li style="width: 250px;padding: 0px;margin: 0px;height:50px;line-height:20px;text-align: left;">';
                            str +='<a href="" style="display:block;width: 50px;height:60px;float: left;margin-left: 5px;">';
                            str+='<img width="50px" height="50px" src="'+ v.thumb+'" alt=""></a>';
                            str+='<a href="" style="display: block;width: 80px;height: 60px;float:left;overflow: hidden;margin-left: 15px">'+ v.gname+'</a>';
                            str+='<a href="" style="display: block;width:90px;height: 60px;float:left;overflow: hidden;margin-left: 5px">￥'+ v.priced+' X '+ v.count+'<br/><span>删除</span></a></li>';
                        })
//                        alert(str);
//                        alert(count);
                        str += '<li> <a href="/shop/home/car/lists" style="color: orangered;">去结算</a> </li>';
                        $('.cart-size').html('('+count+')');
                        $('#car_ul').html(str);
                    });

                })

            </script>
        </div>
    </div>
    <!--logo区域结束-->
    <div class="clear"></div>
    <!--导航开始-->
    <div class="navbox">
        <div class="main">
            <h5 class="fl"><a href="<?php echo U('Home/index/index');?>"><i></i>全部智能酷品</a></h5>
            <ul class="menu fl">
                <?php if(is_array($nature)): foreach($nature as $key=>$vo): ?><li class="menulist">
                    <a href=""><?php echo ($vo['nname']); ?></a>
                    <div class="menuHiden">
                        <ul class="product">
                            <?php if(is_array($vo['goods'])): foreach($vo['goods'] as $key=>$vo): ?><li>
                                <a href=""><img src="/shop/Public/Home/images/right.png" alt="" /></a>
                            </li><?php endforeach; endif; ?>
                        </ul>
                    </div>
                </li><?php endforeach; endif; ?>

            </ul>

        </div>

    </div>
    <!--导航结束-->
    <div class="clear"></div>

</div>
<!--头部结束-->
<!--中间开始-->

<div id="content">

	<div class="ordercontent main">
		<div class="orderleft">
			<div class="ordertitle">
				<h1>个人中心</h1>
				<ul>
					<li>
						<a href="">我的订单<span>&gt;</span></a>
					</li>
					<li>
						<a href="">个人信息<span>&gt;</span></a>
					</li>
					<li>
						<a href="">退货记录<span>&gt;</span></a>
					</li>
					<li>
						<a href="">管理地址<span>&gt;</span></a>
					</li>
					<li>
						<a href="">站内消息<span>&gt;</span></a>
					</li>
				</ul>
			</div>
		</div>
		<div class="orderright">
			<div class="orderlist">
				<h2>管理地址</h2>
				<form action="" method="post">

					<div class="address">
						<div class="addressname"><span>收货人姓名:</span><input name="postname" type="text" placeholder="请输入收货人姓名" required="required" /></div>
						<div class="addressname"><span>收货人地址:</span><input name="useraddr" type="text" placeholder="请输入收货人地址" required="required" /><br />
							<textarea name="" rows="" cols="">收货人地址</textarea>
						</div>
						<div class="addressname"><span>收货人邮编:</span><input name="postcode" type="text" placeholder="收货人邮编" required="required" /></div>
						<div class="addressname"><span>收货人手机号:</span><input name="phone" type="text" placeholder="收货人手机号" required="required" /></div>
						<div class="addbtn"><input type="submit" id="" name="" value="保存" /></div>
					</div>
				</form>

			</div>
		</div>
	</div>

</div>
<!--中间结束-->
<!--尾部开始-->
<div class="mod-footer">
    <div class="foot-bannerw">
        <div class="foot-banner clearfix">
            <div class="banner-item">
                <a href="#" target="_blank" data-monitor="home_foot_days7"><i class="icon1">7</i>7天无理由退货</a>
            </div>
            <div class="banner-item">
                <a href="#" target="_blank" data-monitor="home_foot_days15"><i class="icon2">15</i>15天免费换货</a>
            </div>
            <div class="banner-item"><i class="icon3">包</i>满99元包邮</div>
            <div class="banner-item">
                <a href="#" target="_blank" data-monitor="home_foot_moblie"><i class="icon4">服</i>手机特色服务</a>
            </div>
        </div>
    </div>
    <div class="foot-containerw">
        <div class="foot-container clearfix">
            <dl class="foot-con"> <dt data-monitor="home_foot_freshman">帮助中心 </dt>
                <dd data-monitor="home_help_freshman">
                    <a target="_blank" href="#" rel="nofollow">用户注册</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">用户登录与密码找回</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">购买指南</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">支付方式</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">配送与说明</a>
                </dd>
            </dl>
            <dl class="foot-con"> <dt data-monitor="home_foot_help">售后服务 </dt>
                <dd data-monitor="home_help_help">
                    <a target="_blank" href="#">7 日无理由退货</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">质量问题 15 日内换货</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">保修条款</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">服务流程</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">安迷之家</a>
                </dd>
            </dl>
            <dl class="foot-con"> <dt data-monitor="home_foot_guide">特色服务 </dt>
                <dd data-monitor="home_help_guide">
                    <a target="_blank" href="#" rel="nofollow">F码通道</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">免费试用</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">360 生态</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">一元夺宝</a>
                </dd>
            </dl>
            <dl class="foot-con"> <dt data-monitor="home_foot_tuiguang">推广合作 </dt>
                <dd data-monitor="home_help_try">
                    <a target="_blank" href="#" rel="nofollow">商品入驻</a>
                </dd>
                <dd>
                    <a target="_blank" href="#" rel="nofollow">大客户采购</a>
                </dd>
            </dl>
            <dl class="foot-con"> <dt data-monitor="home_foot_try">关注360商城 </dt>
                <dd data-monitor="home_help_try">
                    <a target="_blank" href="#" rel="nofollow">360商城大事记</a>
                </dd>
            </dl>

        </div>
    </div>
    <div class="footer-copyright">冰雨商城 ©2016-2018 BYCMS工作室版权所有 京ICP备000001号-43</div>
</div>
<!--尾部结束-->

<!--右边底部返回顶部-->
<div class="slidebar" id="slidebar">
    <ul>
        <li class="topback">
            <a href="javascript:;"></a>
        </li>
    </ul>
</div>
<!--右边底部返回顶部结束-->

</body>

</html>